I=-I../promdate/include -I$(shell root-config --incdir) -I /opt/CAENVMELib-2.30.2/include
L=-pthread
F=-fPIC -std=gnu++0x
C=g++

all: MFM

CRCD:
	$C -shared -o ./CRCD.daqmod ./src/CRCD.cpp $F $I $L -lCAENVME $(shell root-config --libs)

MFM:
	$C -shared -o ./MFM.daqmod ./src/MFM.cpp $F $I $L $(shell root-config --libs)

